package com.gao.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author GaoXi
 * @date 2021/8/18 17:27
 */
@Controller
public class TestFilter {

    @ResponseBody
    @RequestMapping("testFilter")
    public String testFilter(){
        System.out.println("我是Controller方法");
        return "hello";
    }

}
